﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Cargo
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICargo_Service" in both code and config file together.
    [ServiceContract]
    public interface ICargo_Service
    {
        [OperationContract]
        List<LG_Cargoe> GetAllCargoes();

        [OperationContract]
        ReturnBool AddNewCargo(LG_Cargoe cargo);

        [OperationContract]
        ReturnBool EditInfoCargo(int cargo_id, LG_Cargoe cargo_updated);

        [OperationContract]
        ReturnBool RemoveCargo(int cargo_id);
    }
}
